package com.faxsun.core.persist.dao;

import java.util.List;

import mtons.modules.persist.Dao;

import com.faxsun.core.persist.entity.LiveManagerPO;
import com.faxsun.core.persist.entity.LivePO;

public interface LiveManagerDao extends Dao<LiveManagerPO> {
	List<LiveManagerPO> findAllManagers(long liveId);

	LiveManagerPO find(long liveId, long userId);

	List<LivePO> find(long userId, String role);

	LiveManagerPO getLiveAdmin(long liveId);

}
